package com.linkai.service;

import com.linkai.dto.admin.business.saleReback.SaleOrderRebackIndexDto;
import com.linkai.entity.SaleRebackOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yamon
 * @since 2021-03-19
 */
public interface SaleRebackOrderService extends IService<SaleRebackOrder> {
    /**
     * 列出所有的销售退货单
     * @return list
     */
    List<SaleOrderRebackIndexDto> listAll();

    /**
     * 入库，更新库存
     * @param id
     * @return
     */
    boolean updateStorageBySaleId(Integer id);
}
